package com.heima.pojo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.heima.pojo.Business;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class NodeVo {
    private Integer id;
    private String name;
    private String addr;
    private Integer createUserId;
    private Integer ownerId;
    private String ownerName;
    private Integer businessId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long regionId;
    private String vmCount;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private RegionVo region;
    private Business businessType;

}
